package com.netflexitysolutions.amazonws.ec2;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Volume {

	private String volumeId;
	
	//TODO: may be we need to declare this as int. 
	//		But not quite sure that the value returned from the service can be always casted to int.
	private String size;
	
	private String snapshotId;
	
	private String zone;
	
	//TODO: may be we need to declare this field as enum
	private String status;
	
	private Date createTime;
	
	private List<AttachmentInfo> attachments = new ArrayList<AttachmentInfo>();

	public Volume(String volumeId, String size, String snapshotId, String zone,
			String status, Date createTime, List<AttachmentInfo> attachments) {
		super();
		this.volumeId = volumeId;
		this.size = size;
		this.snapshotId = snapshotId;
		this.zone = zone;
		this.status = status;
		this.createTime = createTime;
		this.attachments = attachments;
	}

	/**
	 * @return the volumeId
	 */
	public String getVolumeId() {
		return volumeId;
	}

	/**
	 * @return the size
	 */
	public String getSize() {
		return size;
	}

	/**
	 * @return the snapshotId
	 */
	public String getSnapshotId() {
		return snapshotId;
	}

	/**
	 * @return the zone
	 */
	public String getZone() {
		return zone;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @return the attachments
	 */
	public List<AttachmentInfo> getAttachments() {
		return attachments;
	}

}
